package com.njwb.sentinel.service.impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.njwb.sentinel.service.GoodsService;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceImpl implements GoodsService {
    @SentinelResource("goods")
    @Override
    public void query() {
        System.out.println("查询商品");
    }
}
